package org.jeecg.modules.yw.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.sf.saxon.functions.Exists;

import javax.persistence.Column;
import java.util.Date;
@NoArgsConstructor
@AllArgsConstructor
@Data
@TableName("enterprise")
public class EnterPrise {
    @ApiModelProperty(value = "主键id")
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    @ApiModelProperty(value = "昵称",hidden = true)
    private String name;
    @ApiModelProperty(value = "性别",hidden = true)
    private String sex;
    @ApiModelProperty(value = "省",hidden = true)
    private String province;
    @ApiModelProperty(value = "省code",hidden = true)
    @TableField("province_code")
    private String provinceCode;
    @ApiModelProperty(value = "城市",hidden = true)
    private String city;
    @TableField("city_code")
    private String cityCode;
    @ApiModelProperty(value = "图片地址",hidden = true)
    private String picture;
    @ApiModelProperty(value = "联系人",hidden = true)
    private String linkman;
    @ApiModelProperty(value = "手机号",hidden = true)
    private String mobile;
    @ApiModelProperty(value = "密码",hidden = true)
    private String password;
    @ApiModelProperty(value = "角色id() 1: 门窗2. 安装班组 3 打胶售后 ",hidden = true)
    private Integer roleid;//
    @ApiModelProperty(value = "角色安装班组身份 0: 无 1. 组长 2. 组员",hidden = true)
    private Integer isleader;//
    @ApiModelProperty(value = "创建时间",hidden = true)
    private Date createtime;
    @ApiModelProperty(value = "创建人",hidden = true)
    private String createuser;
    @ApiModelProperty(value = "删除标识",hidden = true)
    private String delflag;
    @ApiModelProperty(value = "审批状态 0: 提交 1：通过 2： 驳回  3:停用")
    private Integer approve;
    private String reason;
    private Date approvetime;
    private String license;// 许可图片地址
    private String license1;
    private String contract;// 合同照片地址
    private String cid; //前端传递的唯一id
    private String address;
    @TableField(exist = false)
    private String position;
    @TableField("bankNo")
    private String bankNo;
    @TableField("bankKh")
    private String bankKh;
    @TableField("bankStatus")
    private Integer bankStatus;    
    @TableField("refreshToken")
    private String refreshToken;
}
